﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000D6 RID: 214
	internal class FixExt2Header : IExtHeaderDecoder
	{
		// Token: 0x06000325 RID: 805 RVA: 0x0000C1EE File Offset: 0x0000A5EE
		private FixExt2Header()
		{
		}

		// Token: 0x06000326 RID: 806 RVA: 0x0000C1F8 File Offset: 0x0000A5F8
		public ExtensionHeader Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 2;
			sbyte typeCode = (sbyte)bytes[offset + 1];
			return new ExtensionHeader(typeCode, 2U);
		}

		// Token: 0x040000F1 RID: 241
		internal static readonly IExtHeaderDecoder Instance = new FixExt2Header();
	}
}
